package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfIconDao;
import com.wfcm.entity.WfIconEntity;
import com.wfcm.service.WfIconService;



@Service("wfIconService")
public class WfIconServiceImpl implements WfIconService {
	@Autowired
	private WfIconDao wfIconDao;
	
	@Override
	public WfIconEntity queryObject(Integer id){
		return wfIconDao.queryObject(id);
	}
	
	@Override
	public List<WfIconEntity> queryList(Map<String, Object> map){
		return wfIconDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfIconDao.queryTotal(map);
	}
	
	@Override
	public void save(WfIconEntity wfIcon){
		wfIconDao.save(wfIcon);
	}
	
	@Override
	public void update(WfIconEntity wfIcon){
		wfIconDao.update(wfIcon);
	}
	
	@Override
	public void delete(Integer id){
		wfIconDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfIconDao.deleteBatch(ids);
	}
	
}
